function [outputArg1] = plot_tetra_v4(tetra_pts,shiftvec,linecolor,linewidth)
%UNTITLED2 Summary of this function goes here
%   Detailed explanation goes here

list_ind=[1,2;
    1,3;
    1,4;
    2,3;
    2,4;
    3,4];



for indh=1:6
    pt1=tetra_pts(list_ind(indh,1),:)+shiftvec(:)';
    pt2=tetra_pts(list_ind(indh,2),:)+shiftvec(:)';
    line([pt1(1),pt2(1)],[pt1(2),pt2(2)],[pt1(3),pt2(3)],'Color',linecolor,'LineWidth',linewidth)

end


plane_color=[114,114,114]/255;

tmppts=tetra_pts;
tmppts(:,1)=tmppts(:,1)+shiftvec(1);
tmppts(:,2)=tmppts(:,2)+shiftvec(2);
tmppts(:,3)=tmppts(:,3)+shiftvec(3);
tri_inds=[1,2,3;
    1,2,4;
    1,3,4;
    2,3,4];
for ind=1:4
    plttris=tmppts(tri_inds(ind,:),:);
    pp=fill3(plttris(:,1),plttris(:,2),plttris(:,3),plane_color);pp.FaceAlpha=0.3;

end



outputArg1 = 0;
end